package com.itheima.service;

import com.itheima.dto.PageResult;
import com.itheima.dto.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * @Author: leah_ana
 * @Date: 2022/3/31 15:15
 */

public interface CheckGroupService {

    boolean addCheckGroup(CheckGroup checkGroup, Integer[] ids);

    PageResult findPageBean(QueryPageBean queryPageBean);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    boolean editCheckGroup(CheckGroup checkGroup, Integer[] ids);

    List<CheckGroup> findAll();

    boolean deleteCheckGroup(Integer id);

    void setCheckGroupAndCheckItem(Integer checkGroupId, Integer[] checkitemIds);
}
